package com.bxy.dzsc.dao;

import com.bxy.dzsc.domain.Messages;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MessagesDao {
    public List<Messages> findall();
    public List<Messages> findbyuid(Integer uid);
    public Messages findbyid(Integer id);
    public void insertmessage(Messages messages);
    public void deletemessage(Integer id);
}
